// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SALES_RL_SO_APP
// * CreateDate    : 2014-06-05 18:30:37
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:37
// * LastChanger   : 2014-06-05 18:30:37
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SalesRlSoAppTable : TableInfo
    {
		public const string C_TableName = "SALES_RL_SO_APP";
		
		public const string C_SO_ID = "SO_ID";
		public const string C_SO_ITEM_ID = "SO_ITEM_ID";
        public const string C_SO_ITEM_QTY = "SO_ITEM_QTY";
		public const string C_APP_ID = "APP_ID";
		public const string C_APP_ITEM_ID = "APP_ITEM_ID";
        public const string C_APP_ITEM_QTY = "APP_ITEM_QTY";
		
		public SalesRlSoAppTable()
        {
            _tableName = "SALES_RL_SO_APP";
        }
		
		protected static SalesRlSoAppTable _current;
        public static SalesRlSoAppTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SalesRlSoAppTable();

            _current.Add(C_SO_ID, new ColumnInfo(C_SO_ID,"SoId", true, typeof(string)));
            _current.Add(C_SO_ITEM_ID, new ColumnInfo(C_SO_ITEM_ID,"SoItemId", true, typeof(string)));
            _current.Add(C_SO_ITEM_QTY, new ColumnInfo(C_SO_ITEM_QTY, "SoItemQty", true, typeof(decimal)));
            _current.Add(C_APP_ID, new ColumnInfo(C_APP_ID,"AppId", true, typeof(string)));
            _current.Add(C_APP_ITEM_ID, new ColumnInfo(C_APP_ITEM_ID,"AppItemId", true, typeof(string)));
            _current.Add(C_APP_ITEM_QTY, new ColumnInfo(C_APP_ITEM_QTY, "AppItemQty", true, typeof(decimal)));
			
		}
		
		public ColumnInfo SO_ID
        {
            get { return this[C_SO_ID]; }
        }
		
		public ColumnInfo SO_ITEM_ID
        {
            get { return this[C_SO_ITEM_ID]; }
        }

        public ColumnInfo SO_ITEM_QTY
        {
            get { return this[C_SO_ITEM_QTY]; }
        }
		
		public ColumnInfo APP_ID
        {
            get { return this[C_APP_ID]; }
        }
		
		public ColumnInfo APP_ITEM_ID
        {
            get { return this[C_APP_ITEM_ID]; }
        }

        public ColumnInfo APP_ITEM_QTY
        {
            get { return this[C_APP_ITEM_QTY]; }
        }
		
	}
}

